Method of handling service group ownership transfer in a communication system and related communication device

ABSTRACT

A method of transferring ownership of a service group (SG) for a communication system comprising a converged personal network service (CPNS) server is disclosed. The service group comprises a first plurality of personal network elements (PNEs), and the method comprises the CPNS server receiving an owner transfer request from a first PNE of the service group; and the CPNS server selecting a second PNE from the first plurality of PNEs of the service group, to transfer the ownership of the service group from the first PNE to the second PNE.

CROSS REFERENCE TO RELATED APPLICATIONS

This is a continuation application of U.S. application Ser. No.13/217,229, filed on Aug. 24, 2011, which claims both the benefit ofU.S. Provisional Application No. 61/376,685, filed on Aug. 25, 2010,entitled “Method of Service Group Owner Transfer in CPNS”, and thebenefit of U.S. Provisional Application No. 61/379,398, filed on Sep. 2,2010, entitled “Method of Service Group Owner Transfer in CPNS”.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a method used in a communication systemand related communication device, and more particularly, to a method oftransferring ownership of a service group in a communication system andrelated communication device.

2. Description of the Prior Art

The Open Mobile Alliance (OMA) is founded to develop OMA specificationsfor mobile services to meet users' needs. Furthermore, the OMAspecifications aim to provide the mobile services which areinteroperable across geographic areas (e.g. countries), operators,service providers, networks, operation systems and mobile devices. Indetail, the mobile services conforming to the OMA specifications can beused by the users without restriction to particular operators andservice providers. The mobile services conforming to the OMAspecifications are also bearer agnostic, i.e., the bearer that carriesthe mobile services can be a second generation (2G) mobile system suchas GSM, EDGE or GPRS, or a third generation (3G) and beyond mobilesystem such as UMTS, LTE or LTE-Advanced. Further, the mobile servicescan be executed on an operation system such as Windows, Android or Linuxoperated on various mobile devices. Therefore, industries providingdevices or the mobile services supporting the OMA specifications canbenefit from a largely growing market enabled by interoperability of themobile services. Besides, the users use the devices or the mobileservices supporting the OMA specifications can also have a betterexperience due to the interoperability of the mobile services.

Furthermore, Converged Personal Network Services (CPNS) is developed bythe OMA to provide application-layer support for ubiquitous access toservices in a converged network, which is a group of Personal Networks(PNs) that are interconnected by PN Gateways (PN GWs). In detail, anarchitecture of the CPNS includes three entities which are a CPNSserver, a PN GW, and one or more PN elements (PNEs). The CPNS serverreceives requests from the PN GW, and replies responses to the PN GW, toensure that appropriate applications are selected and appropriatecontents are provided to the PNEs via the PN GW. The PN GW serves as anintermediary entity between the PNEs and other networks that forwardsthe requests and the responses between the PNEs and the other networks.The PN GW can be a mobile phone, or an IP-enabled set-top box. Besides,the PNEs are PN entities that are connected to the PN GW and betweeneach other, and are used for rendering the content received from the PNGW or from each other. The PNE can be a mobile phone, a personalcomputer (PC), a music player, a car navigation system or an IP-enabledset-top box. For example, a PN GW can be a mobile phone which integratesa Bluetooth network and a cellular network. In this situation, a PNEwhich is a Personal Media Player (PMP) connected to the Bluetoothnetwork can receive video contents from the Internet via the mobilephone connected to the cellular network.

On the other hand, the OMA develops a concept of service group (SG) forthe CPNS. The SG is composed of one or more PN GWs and one or more PNEs,which are necessary for the SG to operate normally. The intention of theservice group is to group together PNEs which want to receive the sameservice from a CPNS server or a content provider. In other words, forthose PNEs that want to receive a game service can belong to a SGreceiving the game service, and for those PNEs that want to receive amusic service can belong to a SG receiving the music service. Besides, aPNE creating a SG is assigned as a SG Owner. The SG owner possessesownership of the SG for managing the SG by inviting a new SG member,expelling a SG member, deleting the SG, etc. Further, a PNE belonging tothe SG can leave the SG or abandons to be the owner by sending a SGLeave Request to a corresponding CPNS server via a PN GW managing thePNE. However, when the SG owner leaves the SG or abandons to be theowner, the SG cannot be managed by any other PNEs without the ownershipof the SG. The SG will no longer operate normally. Therefore, how tohandle the problem when the SG owner intends to leave the SG is a topicto be discussed and addressed.

SUMMARY OF THE INVENTION

The invention therefore provides a method of transferring ownership of aservice group to solve the abovementioned problems.

A method of transferring ownership of a service group (SG) for acommunication system comprising a converged personal network service(CPNS) server is disclosed. The service group comprises a firstplurality of personal network elements (PNEs), and the method comprisesthe CPNS server receiving an owner transfer request from a first PNE ofthe service group; and the CPNS server selecting a second PNE from thefirst plurality of PNEs of the service group, to transfer the ownershipof the service group from the first PNE to the second PNE.

These and other objectives of the present invention will no doubt becomeobvious to those of ordinary skill in the art after reading thefollowing detailed description of the preferred embodiment that isillustrated in the various figures and drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic diagram of an exemplary communication systemaccording to the present invention.

FIG. 2 is a schematic diagram of an exemplary communication deviceaccording to the present invention.

FIG. 3 is a flowchart of an exemplary process according to the presentinvention.

FIG. 4 is a transmission sequence diagram of an exemplary processaccording to the present invention.

DETAILED DESCRIPTION

Please refer to FIG. 1, which is a schematic diagram of a communicationsystem 10 according to an example of the present invention. Thecommunication system 10 supports Converged Personal Network Services(CPNS) developed by the Open Mobile Alliance (OMA). The communicationsystem 10 is briefly composed of a CPNS server CS, PN gateways (PN GWs)PG_A and PG_B, and PN elements (PNEs) P_1-P_6. In practice, an amount ofthe PN GWs is not limited to two, and an amount of the PNEs managed byeach PN GW is also not limited to three.

In detail, in the communication system 10, the CPNS server CS receivesrequests from a PN GW, and replies responses to the PN GW, to ensurethat appropriate applications are selected and appropriate contents areprovided to a PNE managed by the PN GW. A PN GW (e.g. PN GW PG_A or PNGW PG_B) serves as an intermediary entity between the PNE and othernetworks that forwards the requests and the responses between the PNEand the other networks. In the communication system 10, the PNEs P_1-P_3are managed by the PN GW PG_A, and the PNEs P_4-P_6 are managed by thePN GW PG_B. In other words, the PN GW PG_A forwards requests, responsesand services between the PNEs P_1-P_3 and the CPNS server CS. Similarly,the PN GW PG_B forwards requests, responses and services between thePNEs P_4-P_6 and the CPNS server CS. Preferably, the PN GW can be amobile phone, or an IP-enabled set-top box. The PNE (e.g. any one of thePNEs P_1-P_6) is a PN entity that is connected to a corresponding PN GWmanaging the PNE and between each other, and is used for rendering thecontent received from the corresponding PN GW or from each other. ThePNE can be a mobile phone, a personal computer (PC), a music player, acar navigation system or an IP-enabled set-top box. Besides, PNEsP_2-P_4 in the communication system 10 belong to a service group (SG)S_1. Therefore, the PNEs P_2-P_4 can receive the same service (e.g. agame service or a music service) from the CPNS server CS or a contentprovider. Without loss of generality, the PNE P_2 is assumed as the SGowner of the SG S_1, and possesses ownership of the SG S_1 for managingthe SG S_1 by inviting a new SG member, expelling a SG member, deletingthe SG S_1, etc.

Please refer to FIG. 2, which is a schematic diagram of a communicationdevice 20 according to an example of the present invention. Thecommunication device 20 can be any one of the CPNS server CS, the PN GWsPG_A and PG_B, and the PNEs P_1-P_6 shown in FIG. 1, but is not limitedherein. The communication device 20 may include a processor 200 such asa microprocessor or Application Specific Integrated Circuit (ASIC), astorage unit 210 and a communication interfacing unit 220. The storageunit 210 may be any data storage device that can store a program code214, accessed by the processor 200. Examples of the storage unit 210include but are not limited to a subscriber identity module (SIM),read-only memory (ROM), flash memory, random-access memory (RAM),CD-ROM/DVD-ROM, magnetic tape, hard disk, and optical data storagedevice. The communication interfacing unit 220 is preferably atransceiver and can exchange signals with the server according toprocessing results of the processor 200.

Please refer to FIG. 3, which is a flowchart of a process 30 accordingto an example of the present invention. The process 30 is utilized inthe communication system 10 shown in FIG. 1, to transfer ownership ofthe SG S_1 in the communication system 10. The process 30 may becompiled into the program code 214 and includes the following steps:

Step 300: Start.

Step 302: Receive an SG owner transfer request that is transmitted bythe PNE P_2 of the SG S_1, wherein the PNE P_2 possesses the ownershipof the SG S_1.

Step 304: Select a new owner from the PNEs P_3-P_4 of the SG S_1according to a SG owner selection procedure, to transfer the ownershipof the SG S_1 from the PNE P_2 to the new owner.

Step 306: End.

When the owner of the SG S_1 (which possesses the ownership of the SGS_1), the PNE P_2, intends to leave the SG S_1 or intends no to be theowner of the SG S_1, the PNE P_2 transmits an SG owner transfer requestto the CPNS server CS. According to the process 30, after the CPNSserver CS receives the SG owner transfer request from the PNE P_2, theCPNS server CS selects the new owner from the PNEs P_3-P_4 of the SGS_according to the SG owner selection procedure, to transfer theownership of the SG S_1 from the PNE P_2 to the new owner. Besides, asthe PNE P_2 is managed by the PN GW PG_A, the new owner may be a PNEmanaged by the PN GW PG_A or the PN GW PG_B according to the selectionof the CPNS server CS. Therefore, when the PNE P_2 sends the SG ownertransfer request to the CPNS server CS due to that the PNE P_2 intendsto leave the SG S_1 or intends no to be the owner of the SG S_1, i.e.,abandon the ownership of the SG S_1, the CPNS server CS can select thenew owner for the SG S_1 to operate normally.

Please note that, the spirit of the present invention is that the CPNSserver CS selects the new owner from the PNEs P_3-P_4 of the SG S_1according to the SG owner selection procedure, when the PNE P_2 intendsto abandon the ownership of the SG S_1, wherein signalings and processesoccurred between the CPNS server CS, the new owner, the PNE P_2, andrelated PN GWs are not limited herein. For example, please refer to FIG.4, which is a transmission sequence diagram of the communication system10 according to an embodiment of the present invention. FIG. 4illustrates the signalings and the processes occurred in thecommunication systems 10 when the PNE P_2 intends to abandon theownership of the SG S_1.

In detail, when the PNE P_2 intends to abandon the ownership of the SGS_1, the PNE P_2 transmits a SG owner transfer request to the PN GW PG_Awhich manages the PNE P_2. Then, the PN GW PG_A forwards the SG ownertransfer request to the CPNS server CS. After receiving the SG ownertransfer request from the PN GW PG_A, the CPNS server CS determineswhether the PNE P_2 possesses the ownership of the SG S_1, to avoid thatthe ownership is transferred accidentally due to a fake requesttransmitted by a hostile PNE. If the CPNS server CS confirms that thePNE P_2 possesses the ownership of the SG S_1, the CPNS server CS startsto select a new owner from the PNEs P_3-P_4 of the SG S_1 according to aSG owner selection procedure. Without loss of generality, the PNE P_4 isassumed to be selected as the new owner according to the SG ownerselection procedure. Then, the CPNS server CS forwards the SG ownertransfer request to the PNE P_4 via the PN GW PG_B which manages the PNEP_4.

Further, the PNE P_4 decides whether to accept the ownership of the SGS_1 or not, after receiving the SG owner transfer request. If the PNEP_4 accepts the ownership of the SG S_1, the PNE P_4 transmits a SGowner transfer response to the CPNS server CS to indicate acceptance ofthe ownership of the SG S_1 via the PN GW PG_B. After confirming theacceptance of the ownership of the SG S_1, the CPNS server CS forwardsthe SG owner transfer response to the PNE P_2 via the PN GW PG_A, toindicate that the ownership of the SG S_1 has been transferred. Further,the CPNS server CS broadcasts a SG owner change notification in the SGS_1 to notify each PNE of the SG SG_1 that the ownership of the SG S_1is transferred to the PNE P_4. Therefore, according to the transmissionsequence diagram shown in FIG. 4, when the PNE P_2 intends to abandonthe ownership of the SG S_1, the new owner is selected such that the SGS_1 can continue to operate normally.

On the other hand, if the PNE P_4 rejects the ownership of the SG S_1,the PNE P_4 transmits a SG owner transfer response to the CPNS server CSto indicate rejection of the ownership of the SG S_1 via the PN GW PG_B.In this situation, the ownership is not transferred, and the PNE P_2remains the owner of the SG S_1.

Please note that, the SG owner selection procedure is used by the CPNSserver CS to select a PNE in the SG S_1 as the new owner, and acriterion used in the SG owner selection procedure may base oncapability of a PNE, choice of the CPNS server CS, service description,operator's policy and/or recommendation of the SG owner (e.g. the PNEP_2), and is not limited herein. For example, the CPNS server CS canselect a PNE in the SG S_1 which has the smallest latency from the CPNSserver CS as the new owner. A latency of each PNE of the SG S_1 can beobtained by sending a ping to each PNE of the SG S_1. In case there aremultiple PNEs having the smallest latency from the CPNS server CS, theCPNS server CS can randomly select a PNE from the multiple PNEs as thenew owner. Alternatively, the CPNS server CS can select a PNE in the SGS_1 which was previously assigned as the owner of the SG S_1 mostfrequently as the new owner. In this situation, the CPNS server CS musthave an amount of times that a PNE was assigned as the owner of the SGS_1. Incase there are multiple PNEs being previously assigned as theowner of the SG S_1 most frequently, the CPNS server CS can randomlyselect a PNE from the multiple PNEs as the new owner. Besides, the CPNSserver CS can select a PNE in the SG S_1 which stays in the SG S_1 forthe longest period as the new owner, since the PNE may not leave the SGS_1 for a certain period. In this situation, the CPNS server CS musthave information about how long a PNE stays in the SG S_1. In case thereare multiple PNEs staying in the SG Si for the longest period, the CPNSserver CS can randomly select a PNE from the multiple PNEs as the newowner. Oppositely, the CPNS server CS can also select a PNE in the SGS_1 which stays in the SG S_1 for the shortest period as the new owner,since the PNE may stay in the SG S_1 for a certain period to completereceiving services. In this situation, the CPNS server CS must also haveinformation about how long a PNE stays in the SG S_1. In case there aremultiple PNEs staying in the SG S_1 for the shortest period, the CPNSserver CS can randomly select a PNE from the multiple PNEs as the newowner. In short, any criterion can be used in the SG owner selectionprocedure as long as the criterion is suitable for the SG S_1.

On the other hand, for the communication system 10 to operate normally,entities related to operation of the SG S_1 such as the CPNS server CS,the PN GWs PG_A and PG_B and the PNEs P_2-P_4, should maintain their SGinventories corresponding to the SG S_1 locally. In other words, theentities should maintain their SG inventories to record relatedinformation, such as the owner of the SG S_1. Therefore, when a PNEleaves/joins the SG S_1, or the owner of the SG S_1 is changed, theentities updates their SG inventories accordingly. For example, the CPNSserver CS, the PN GWs PG_A and PG_B, and the PNE P_4 update their SGinventories after receiving the SG owner transfer response indicatingthe acceptance of the ownership of the PNE P_4, as shown in thetransmission sequence diagram in FIG. 4. In short, the entities relatedto the SG S_1 update their SG inventories when the ownership istransferred. The methods according to which the entities confirm thatthe ownership is transferred are not limited herein. As known to thoseskilled in the art, a SG inventory is a list of SG(s) and theinformation of SGs which includes information of group members therein.

Please note that, the PNE P_2 and the PNE P_4 belong to different PN GWsin the above illustration. However, it may happen that the CPNS serverCS selects the PNE P_3 as the new owner according to the SG ownerselection procedure, i.e., the owner and the new owner belong to thesame PN GW. In this situation, the process 30 directly applies. Further,those skilled in the art can accordingly obtain a correspondingtransmission sequence diagram similar to that in FIG. 4, e.g., modifythe transmission sequence diagram in FIG. 4 by replacing the PN GW PG_Band the PNE P_4 with the PN GW PG_A and the PNE P_3, respectively, toobtain the corresponding transmission sequence diagram.

The abovementioned steps of the processes including suggested steps canbe realized by means that could be a hardware, a firmware known as acombination of a hardware device and computer instructions and data thatreside as read-only software on the hardware device or an electronicsystem. Examples of hardware can include analog, digital and mixedcircuits known as microcircuit, microchip, or silicon chip. Examples ofthe electronic system can include a system on chip (SOC), system inpackage (SiP), a computer on module (COM) and the communication device20.

In conclusion, the present invention discloses a method of transferringownership of a SG in a communication system and related communicationdevice. A CPNS server will select a new owner according to the method,when the owner of the SG intends to leave the SG or intends no to be theowner of the SG. Since the new owner is selected according to thepresent invention if above situations occur, the SG can continue tooperate normally.

Those skilled in the art will readily observe that numerousmodifications and alterations of the device and method may be made whileretaining the teachings of the invention. Accordingly, the abovedisclosure should be construed as limited only by the metes and boundsof the appended claims.

What is claimed is:
 1. A method of transferring ownership of a servicegroup (SG) for a communication system comprising a converged personalnetwork service (CPNS) server, the service group comprising a firstplurality of personal network elements (PNEs), the method comprising:the CPNS server receiving an owner transfer request from a first PNE ofthe service group; the CPNS server determining whether the first PNEpossesses the ownership of the service group, after the owner transferrequest has been received; and the CPNS server selecting a second PNEfrom the first plurality of PNEs of the service group, to transfer theownership of the service group from the first PNE to the second PNE,wherein the selection is based on a predetermined criterion, and anowner transfer response indicates acceptance of the owner transferrequest; and the CPNS server updating a service group inventory locallyto indicate that the second PNE possesses the ownership of the servicegroup.
 2. The method of claim 1 further comprising: the CPNS servertransmitting the owner transfer request to the second PNE, afterselecting the second PNE from the first plurality of PNEs of the servicegroup.
 3. The method of claim 2, wherein the CPNS server transmittingthe owner transfer request to the second PNE comprises: transmitting theowner transfer request to the second PNE via a second personal networkgateway which is different from a first personal network gatewaymanaging the first PNE, wherein the first PNE and the second PNE aremanaged by different personal network gateways; or transmitting theowner transfer request to the second PNE via the first personal networkgateway managing the first PNE, when the first PNE and the second PNEare managed by the same personal network gateway.
 4. The method of claim3 further comprising: the CPNS server receiving an owner transferresponse indicating acceptance or rejection of the owner transferrequest from the second PNE via the second personal network gateway,when the first PNE and the second PNE are managed by different personalnetwork gateways; or the CPNS server receiving the owner transferresponse indicating acceptance or rejection of the owner transferrequest from the second PNE via the first personal network gateway, whenthe first PNE and the second PNE are managed by the same personalnetwork gateway.
 5. The method of claim 4, further comprising:transmitting the owner transfer response to the first PNE via the firstpersonal network gateway, when the first PNE and the second PNE aremanaged by different personal network gateways; or transmitting theowner transfer response to the first PNE via the first personal networkgateway, when the PNE and the second PNE are managed by the samepersonal network gateway.
 6. The method of claim 4, wherein when thereceived owner transfer response indicates acceptance of the ownertransfer request, the first personal network gateway and the secondpersonal network gateway update a first service group inventory and asecond service group inventory locally, respectively, to indicate thatthe second PNE possesses the ownership of the service group.
 7. Themethod of claim 1 further comprising: the CPNS server notifying thefirst PNE and the first plurality of PNEs that the second PNE possessesthe ownership of the service group.
 8. The method of claim 1, whereinthe first PNE updates a service group inventory locally, to indicatethat the second PNE possesses the ownership of the service group.
 9. Themethod of claim 1, wherein the CPNS server selects the second PNE whichhas the smallest latency from the CPNS server, or randomly selects thesecond PNE from a second plurality of PNEs of the service group whenthere are the second plurality of PNEs having the same smallest latency.10. The method of claim 1, wherein the CPNS server selects the secondPNE which was previously assigned as the owner of the service group mostfrequently, or randomly selects the second PNE from a second pluralityof PNEs of the service group when there are the second plurality of PNEspreviously being assigned as the owner of the service group mostfrequently.
 11. The method of claim 1, wherein the CPNS server selectsthe second PNE which stays in the service group for the longest periodthan any other PNEs in the service group, or randomly selects the secondPNE from a second plurality of PNEs of the service group when there arethe second plurality of PNEs staying in the service group for the samelongest period than any other PNEs in the service group.
 12. The methodof claim 1, wherein the CPNS server selects the second PNE which staysin the service group for the shortest period than any other PNEs in theservice group, or randomly selects the second PNE from a secondplurality of PNEs of the service group when there are the secondplurality of PNEs staying in the service group for the same shortestperiod than any other PNEs in the service group.
 13. The method of claim1, wherein the first PNE transmits the owner transfer request to theCPNS server, when the first PNE intends to leave the service group orintends not to be the owner of the service group.